package com.treasure.web.command.response.chat;

import com.baomidou.mybatisplus.core.metadata.IPage;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author sunhongmin
 * @date 2023/9/1 11:03
 * @description
 */
@Data
public class ChatHistoryDetailResponse implements Serializable {
    /**
     * 交互历史ID
     */
    private Integer interactionId;
    /**
     * 聊天历史记录
     */
    private IPage<HistoryResponse> chatHistoryListPage;

    @Data
    public static class HistoryResponse implements Serializable {
        private Long id;
        /**
         * 消息标识
         */
        private String messageIdentifier;
        /**
         * 消息主体
         */
        private String message;
    }
}
